package com.example.cms.entity;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable{
	private Integer orderId;//
	private String orderName;//订单名称
	private Integer orderCout;//订单数量
	private Date orderDate;//订单产生时间
	private double	orderMoney;//订单金额
	private Integer customerId;//客户id
	private  String custmoerName;//客户名称

	public String getCustmoerName() {
		return custmoerName;
	}

	public void setCustmoerName(String custmoerName) {
		this.custmoerName = custmoerName;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Integer getOrderCout() {
		return orderCout;
	}

	public void setOrderCout(Integer orderCout) {
		this.orderCout = orderCout;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public double getOrderMoney() {
		return orderMoney;
	}

	public void setOrderMoney(double orderMoney) {
		this.orderMoney = orderMoney;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	@Override
	public String toString() {
		return "Order{" +
				"orderId=" + orderId +
				", orderName='" + orderName + '\'' +
				", orderCout=" + orderCout +
				", orderDate=" + orderDate +
				", orderMoney=" + orderMoney +
				", customerId=" + customerId +
				'}';
	}
}
